package com.globalresources.po;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * DetailUser entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class DetailUser implements java.io.Serializable {

	// Fields

	private Integer id;
	private City city;
	private Hospital hospital;
	private String email;
	private String fax;
	private String cellphone;
	private String officeTel;
	private String hospitalTel;
	private String familyTel;
	private String homeAddress;
	private String officeAddress;
	private String hospitalAddress;
	private String familyName;
	private String lastName;
	private Date birthday;
	private String introduction;
	private String personalPicture;
	private Date registerTime;
	private Set businessLogs = new HashSet(0);
	private Set documentsForPatient = new HashSet(0);
	private Set users = new HashSet(0);
	private Set opeateDocumentHistories = new HashSet(0);
	private Set documentsForOpeatorId = new HashSet(0);
	private Set documentsForUserId = new HashSet(0);

	// Constructors

	/** default constructor */
	public DetailUser() {
	}

	/** minimal constructor */
	public DetailUser(City city) {
		this.city = city;
	}

	/** full constructor */
	public DetailUser(City city, Hospital hospital, String email, String fax, String cellphone, String officeTel, String hospitalTel, String familyTel, String homeAddress, String officeAddress, String hospitalAddress, String familyName, String lastName, Date birthday, String introduction,
			String personalPicture, Date registerTime, Set businessLogs, Set documentsForPatient, Set users, Set opeateDocumentHistories, Set documentsForOpeatorId, Set documentsForUserId) {
		this.city = city;
		this.hospital = hospital;
		this.email = email;
		this.fax = fax;
		this.cellphone = cellphone;
		this.officeTel = officeTel;
		this.hospitalTel = hospitalTel;
		this.familyTel = familyTel;
		this.homeAddress = homeAddress;
		this.officeAddress = officeAddress;
		this.hospitalAddress = hospitalAddress;
		this.familyName = familyName;
		this.lastName = lastName;
		this.birthday = birthday;
		this.introduction = introduction;
		this.personalPicture = personalPicture;
		this.registerTime = registerTime;
		this.businessLogs = businessLogs;
		this.documentsForPatient = documentsForPatient;
		this.users = users;
		this.opeateDocumentHistories = opeateDocumentHistories;
		this.documentsForOpeatorId = documentsForOpeatorId;
		this.documentsForUserId = documentsForUserId;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public City getCity() {
		return this.city;
	}

	public void setCity(City city) {
		this.city = city;
	}

	public Hospital getHospital() {
		return this.hospital;
	}

	public void setHospital(Hospital hospital) {
		this.hospital = hospital;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getCellphone() {
		return this.cellphone;
	}

	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}

	public String getOfficeTel() {
		return this.officeTel;
	}

	public void setOfficeTel(String officeTel) {
		this.officeTel = officeTel;
	}

	public String getHospitalTel() {
		return this.hospitalTel;
	}

	public void setHospitalTel(String hospitalTel) {
		this.hospitalTel = hospitalTel;
	}

	public String getFamilyTel() {
		return this.familyTel;
	}

	public void setFamilyTel(String familyTel) {
		this.familyTel = familyTel;
	}

	public String getHomeAddress() {
		return this.homeAddress;
	}

	public void setHomeAddress(String homeAddress) {
		this.homeAddress = homeAddress;
	}

	public String getOfficeAddress() {
		return this.officeAddress;
	}

	public void setOfficeAddress(String officeAddress) {
		this.officeAddress = officeAddress;
	}

	public String getHospitalAddress() {
		return this.hospitalAddress;
	}

	public void setHospitalAddress(String hospitalAddress) {
		this.hospitalAddress = hospitalAddress;
	}

	public String getFamilyName() {
		return this.familyName;
	}

	public void setFamilyName(String familyName) {
		this.familyName = familyName;
	}

	public String getLastName() {
		return this.lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getIntroduction() {
		return this.introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public String getPersonalPicture() {
		return this.personalPicture;
	}

	public void setPersonalPicture(String personalPicture) {
		this.personalPicture = personalPicture;
	}

	public Date getRegisterTime() {
		return this.registerTime;
	}

	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}

	public Set getBusinessLogs() {
		return this.businessLogs;
	}

	public void setBusinessLogs(Set businessLogs) {
		this.businessLogs = businessLogs;
	}

	public Set getDocumentsForPatient() {
		return this.documentsForPatient;
	}

	public void setDocumentsForPatient(Set documentsForPatient) {
		this.documentsForPatient = documentsForPatient;
	}

	public Set getUsers() {
		return this.users;
	}

	public void setUsers(Set users) {
		this.users = users;
	}

	public Set getOpeateDocumentHistories() {
		return this.opeateDocumentHistories;
	}

	public void setOpeateDocumentHistories(Set opeateDocumentHistories) {
		this.opeateDocumentHistories = opeateDocumentHistories;
	}

	public Set getDocumentsForOpeatorId() {
		return this.documentsForOpeatorId;
	}

	public void setDocumentsForOpeatorId(Set documentsForOpeatorId) {
		this.documentsForOpeatorId = documentsForOpeatorId;
	}

	public Set getDocumentsForUserId() {
		return this.documentsForUserId;
	}

	public void setDocumentsForUserId(Set documentsForUserId) {
		this.documentsForUserId = documentsForUserId;
	}

}